package com.woniuxy.platform.core.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author gmx
 * @since 2021-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("pl_orderitem")
@ApiModel(value="PlOrderitem对象", description="")
public class PlOrderitem implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "订单id")
    private Integer orderId;

    @ApiModelProperty(value = "数量")
    private Integer quantity;

    @ApiModelProperty(value = "订单类型")
    private Integer ordertype;

    @ApiModelProperty(value = "商品图片")
    private String img;

    @ApiModelProperty(value = "商品名")
    private String name;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    @ApiModelProperty(value = "售价")
    private BigDecimal sellPrice;

    @ApiModelProperty(value = "规格")
    private String size;

    @ApiModelProperty(value = "软删除")
    private Integer flag;

    @ApiModelProperty(value = "商家id")
    private Integer storeId;

    @ApiModelProperty(value = "服务一级id,0是商品，其它都是服务")
    private Integer firstId;


}
